package com.kashow.bean.comment;

import com.kashow.bean.BaseBean;

import java.util.List;

/**
 * Created by cg on 16/12/28.
 */

public class CommentContent extends BaseBean {


    /**
     * message : 测试评论
     * grade : [{"score":5,"name":"吐字清晰"},{"score":5,"name":"幽默风趣"},{"score":5,"name":"实用落地"}]
     * showName : true
     */

    private String message;
    private boolean showName;
    private List<GradeEntity> grade;

    public void setMessage(String message) {
        this.message = message;
    }

    public void setShowName(boolean showName) {
        this.showName = showName;
    }

    public void setGrade(List<GradeEntity> grade) {
        this.grade = grade;
    }

    public String getMessage() {
        return message;
    }

    public boolean getShowName() {
        return showName;
    }

    public List<GradeEntity> getGrade() {
        return grade;
    }

    public static class GradeEntity {
        public GradeEntity(float score, String name) {
            this.score = score;
            this.name = name;
        }

        /**
         * score : 5
         * name : 吐字清晰
         */

        private float score;
        private String name;

        public void setScore(float score) {
            this.score = score;
        }

        public void setName(String name) {
            this.name = name;
        }

        public float getScore() {
            return score;
        }

        public String getName() {
            return name;
        }
    }
}
